//
//  PayOrderTableViewCell.m
//  Youhuiju
//
//  Created by 余尚飞 on 16/8/12.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "PayOrderTableViewCell.h"

@interface PayOrderTableViewCell ()
@property (weak, nonatomic) IBOutlet UIButton *payButton;


@property (weak, nonatomic) IBOutlet NSLayoutConstraint *payBtnHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *payBtnWidth;

@end

@implementation PayOrderTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.payButton.layer.cornerRadius = 18 * FitH;
    self.payBtnWidth.constant = 200 * FitW;
    self.payBtnHeight.constant = 40 * FitH;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (IBAction)buttonClickedAction:(UIButton *)sender {
    if (self.buttonClickedHandler)
    {
        self.buttonClickedHandler();
    }
}


@end
